home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
726-750
/
730
/
term
/
term2_3int2.lha
/
ARexx
/
AutoLogin.rexx
next >
Wrap
OS/2 REXX Batch file
|
1992-05-08
|
633b
|
38 lines
/* An example auto-login ARexx script file to be used with `term'. */
/* Start to talk to the `term' main program. */
address term
/* We only wish to wait 20 seconds for a sequence to appear. */
set timeout 20 sec
/* Wait for the user name prompt to appear... */
waitstring "Username:"
/* Wait a bit, don't confuse the mailbox. */
delay 2 sec
/* Transmit the user name. */
command "\u^M"
/* Wait for the password prompt to appear. */
waitstring "Password:";
/* Wait a bit, don't confuse the mailbox. */
delay 2 sec
/* Transmit the password. */
command "\p^M"
/* Quietly return back to `term'. */
quietexit